<template>
    <!--放款数据-->
    <div class="content_panel project_modules">
        <div class="content_panel_top">
            <h3 class="panel_title">
                <span>{{$t('pageTitle.loanData')}}</span>
            </h3>
            <el-form ref="form" :model="form" :rules="rules" :inline="false" class="module_form">
                <el-row :gutter="20">
                    <el-col :span="5">
                        <el-form-item prop="appName" label="">
                            <select-app-list :multiple="true" v-model="form.appName" :placeholder="$t('system.appName')"></select-app-list><!--app包名-->
                        </el-form-item>
                    </el-col>
                    <el-col :span="8">
                        <el-button @click="getTableData" type="primary" >{{ $t('common.search') }}</el-button>
                        <el-button @click="exportExcel" type="primary">{{ $t('common.export') }}</el-button>
                    </el-col>
                </el-row>
            </el-form>
        </div><!--content_panel_top-->
        <div class="module_content">
            <div class="content_panel project_modules">
                <div class="table_list">
                    <el-table ref="table" :data="tableData" show-summary :summary-method="getSummaries" style="width: 100%;" :max-height="tableMaxHeight" :highlight-current-row="true">
                        <el-table-column label="申请日期" prop="date" width="120"></el-table-column><!--申请日期-->
                        <el-table-column label="申请笔数" prop="orderCount" min-width="130"></el-table-column><!--申请笔数-->
                        <el-table-column label="机审通过笔数" prop="admittanceSuccess" min-width="130"></el-table-column><!--机审通过笔数-->
                        <el-table-column label="机审拒绝笔数" prop="admittanceRefuse" min-width="130"></el-table-column><!--机审拒绝笔数-->
                        <el-table-column label="机审通过率" prop="admittanceSuccessRate" min-width="130"></el-table-column><!--机审通过率-->
                        <el-table-column label="信审通过笔数" prop="lastAuditSuccess" min-width="130"></el-table-column><!--信审通过笔数-->
                        <el-table-column label="放款笔数" prop="dateLoan" min-width="130"></el-table-column><!--放款笔数-->
                        <el-table-column label="放款率" prop="dateLoanRate" min-width="130"></el-table-column><!--放款率-->
                        <el-table-column label="信审通过/准入通过" prop="lastAuditSuccessRate" min-width="130"></el-table-column><!--信审通过/准入通过-->
                    </el-table>
                </div>
            </div>
        </div>
    </div>
</template>

<script src="./main.js"></script>

<style lang="scss">
</style>
